New flag shortcuts_current_folder_is_volume.
authorFederico Mena Quintero <federico@ximian.com>
Tue, 2 Mar 2004 05:27:51 +0000 (05:27 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Tue, 2 Mar 2004 05:27:51 +0000 (05:27 +0000)
commitaf409998b847d9e263bf0bec30483b4b828cb4d6
tree06229790722bee54b08f61bbca2dc610843f33ed
parentcafd0d088f7d0f71c4a43e8a8292728f064e39c6
New flag shortcuts_current_folder_is_volume.

2004-03-01  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): New
flag shortcuts_current_folder_is_volume.
(shortcuts_add_current_folder): Set
impl->shortcuts_current_folder_is_volume as appropriate.
(remove_current_folder_cb): Handle the flag.
(shortcuts_activate_item): Likewise.
(shortcuts_update_current_folder): Handle the
impl->shortcuts_current_folder_active flag; only add the folder if
it doesn't already exist in the list.
(shortcuts_model_create): Don't insert the current folder
separator here.
(shortcuts_add_current_folder): Insert the separator here.
(shortcut_find_position): Renamed from shortcut_exists(); now
returns an index.
(shortcuts_add_current_folder): Set the active item in the combo.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkfilechooserdefault.c